var processListPanel=new ModelListPanel({
	id:'processlist-panel',
	title:'功能结构列表',
	imgSrc:'images/MiniPic/process2.png',
	layout:'border',
	canvasId:'processListCanvas',
	items : {
		region : 'center',
		autoScroll : true,
		border : false,
		contentEl : 'processListCanvas'
	},
	store:new Ext.data.Store({
		proxy : new Ext.data.HttpProxy({
			url : 'showProcessList.action?method=showProcessList',
			method : 'post'
		}),
		reader : new Ext.data.JsonReader({
			root : "Process",
			totalProperty : "totalProcess",
			id : "id"
		}, [ {
			name : 'id'
		}, {
			name : 'enName'
		}, {
			name : 'cnName'
		}, {
			name : 'description'
		}, {
			name : 'fileId'
		} ])
	}),
	displayName:'cnName',
	onClickImg:function(index){
		var record=this.store.getAt(index);
		
//		alert(index+"_"+record.get("id"));
		//跳转到具体的模型详细数据页面
		//authenticate(record.get('fileId'),'read',function(){
			//跳转到具体的模型详细数据页面
		showProcessContent(record.get('id'), record.get('cnName'));
		Ext.getCmp('content-panel').addTab('process-panel');	
			
			
		//});
	}
});